Submitted Property (Message Object)
The Submitted
property is TRUE when the message has been submitted. Read/write.
Syntax
objMessage.Submitted
Data Type
Boolean
Remarks
In general,
there are three different kinds of messages: messages that get sent, messages
that get posted, and messages that get saved. Messages that get
sent are characterized by traditional e-mail messages sent to a recipient or
public folder. Messages that get posted are characterized by messages created
in a public folder. Messages that get saved are characterized by messages that
are created and saved without either sending or posting.
For all three
kinds of messages, you use the Submitted, Sent, and Unread
properties and the Send or Update methods.
The following
table summarizes the use of the message properties and methods for these three
kinds of messages.
Kind of
message |
Method |
Submitted
property |
Sent
property |
Unread
property |
Gets sent |
Send |
Send method sets TRUE |
Spooler
sets TRUE |
Spooler
sets TRUE |
Gets posted |
Update |
Application
sets FALSE |
Application
sets TRUE |
Application
sets TRUE |
Gets saved |
Update |
Application
sets FALSE |
Application
sets FALSE |
Application
sets TRUE |
For messages
that get sent, you create the message and then call the Send method.
When the Send method is successful, the Submitted property is set
to TRUE. The value does not change after that point. For messages sent to a
public folder, the Send method sets the Submitted property
(rather than the Sent property) to TRUE.
For messages
that get posted, you create the message directly within a public folder and
call Update. When you create the message within the public folder, some
viewers do not allow the message to become visible to others until you set the Submitted
property to TRUE.
The Submitted
property corresponds to the MAPI property PR_MESSAGE_FLAGS.
See Also
Sent Property (Message Object)